package com.qaml.mes.device.dto.eqp;

import com.earth.page.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @ClassName CheckUpkeepInfoListDTO
 * @Description 检保项目
 * @Author leikai
 * @Date 2024/4/9 0009 10:38
 * @Version 1.0
 */
@Data
public class CheckUpkeepInfoListDTO extends PageRequest implements Serializable {

    private static final long serialVersionUID = 2664705235128740565L;


    /**
     * 检保信息id
     */
    @ApiModelProperty(value = "检保信息id")
    private String id;

    /**
     * 检保项目编号
     */
    @ApiModelProperty(value = "检保项目编号")
    String checkUpkeepId;

    /**
     * 设备id
     */
    @ApiModelProperty(value = "设备id")
    @NotBlank
    String eqpId;

    /**
     * 设备名称
     */
    @ApiModelProperty(value = "设备名称")
    String eqpName;

    /**
     * 设备编码
     */
    @ApiModelProperty(value = "设备编码")
    String eqpCode;

    /**
     * 线体
     */
    @ApiModelProperty(value = "线体")
    String lineBody;

    /**
     * 检保类型
     */
    @ApiModelProperty(value = "检保类型")
    String type;

    /**
     * 检保周期
     */
    @ApiModelProperty(value = "检保周期")
    String cycle;

    /**
     * 启用状态  1 启动 0 禁用
     */
    @ApiModelProperty(value = "启用状态")
    private Integer status;

}